<%@page contentType="text/html; charset=UTF-8"%>
<%@page import="nc.bs.ebvp.login.Constant"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<%
			String basepath = request.getContextPath();
			String backurl = (String)session.getAttribute(Constant.JSP_URL);
		%>
		<script type="text/javascript">
				function back(){
					var url = "<%=backurl%>";
					location.href = url;
				}
		</script>
		<style type="text/css">
.textinput {
	color: #333333;
	width: 90%;
	border: 1px solid #33333;
}

.buttonok {
	border: 0px;
	width: 60px;
	height: 23px;
	/*background-color:Black;*/
	background-image: url('<%=basepath%>/images/common/button1s1.png');
	color: #ffffff;
	font-size: 12px;
}

.buttonok:hover {
	background-image: url('<%=basepath%>/images/common/button3s1.png');
}
</style>
	</head>
	<body class="fullbody">
		<div id="content" class="content">
			<div class="">
				<form action="<%=basepath%>/register/supplierchangepassword"
					method="post" onsubmit="return checkPsw();">
					<table cellpadding="0" cellspacing="0" border="0" width="980"
						class="datatable">
						<tr>
							<td class="leftmargin">
							</td>
							<td valign="top" align="left">
								<table cellpadding="0" cellspacing="0" border="0" width="920">
									<tr class="title">
										<td colspan="4">
											密码修改
										</td>
									</tr>
									<tr class="inputrow">
										<td class="w1">
											原密码：
										</td>
										<td class="w2" rowspan="3"></td>
										<td class="w3">
											<input type="password" class="textinput" name="suppwd" />
											<span class="needfill">*</span>
										</td>
										<td class="w4">
											<div id="checksupusername" class="message">

											</div>
										</td>
									</tr>
									<tr class="inputrow">
										<td align="right">
											新密码：
										</td>
										<td>
											<input type="password" class="textinput" name="newpwd1" />
											<span class="needfill">*</span>
										</td>
										<td>
											<div id="firstpwd" class="message">
												由6-20个英文字母或数字组成,例如：43sjk4sdwe
											</div>
										</td>
									</tr>
									<tr class="inputrow">
										<td align="right">
											再输一次：
										</td>
										<td>
											<input type="password" class="textinput" name="newpwd2" />
											<span class="needfill">*</span>
										</td>
										<td>
											<div id="repeatpwd" class="message">
												重复输入上面的密码
											</div>
										</td>
									</tr>
								</table>
							</td>

						</tr>
						<tr>
							<td colspan="4">
								<table align="left">
									<tr class="title">
										<td>
											<div id="message" class="msgcolor">
												<c:out value="${ERROR_MESSAGE}" />
											</div>
										</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td colspan="4" class="margin70" align="center">
								<div>
									<input type="submit" class="buttonok" value="确认"
										class="submitbutton" />
									&nbsp;&nbsp;
									<input type="button" class="buttonok" onclick="back()"
										value="返回" />
								</div>
							</td>
						</tr>
					</table>
				</form>
			</div>
		</div>
	</body>
</html>